package com.github.ecbp.store.service.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.github.ecbp.common.data.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @Author Created by Alex·He on 2020/4/30 21:41
 * @Version V1.0
 * @Description: 商品满减表(ProductFullReduction)实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("product_full_reduction")
public class ProductFullReduction extends BaseEntity {

    private Long productId;

    /**
     * 商品需满足的金额
     */
    private BigDecimal fullPrice;

    /**
     * 商品减少金额
     */
    private BigDecimal reducePrice;
}
